From: Ivan Molodetskikh Date: Sun, 27 Dec 2020 19:33:34 +0000 (+0000) Subject: workspacesView: Fix copy-paste error X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~657 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c401759c1a4d3767cb7f9f93f3a8d8191c8f1664;p=gnome-shell.git workspacesView: Fix copy-paste error Calling both window-drag handlers on drag begin messes up our tracking, and prevents the swipe tracker from being disabled during drag operations. Part-of: --- diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js index cccd447e2..4a11f0888 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -394,7 +394,7 @@ class WorkspacesDisplay extends St.Widget { Main.overview.connect('window-drag-begin', this._windowDragBegin.bind(this)); this._windowDragEndId = - Main.overview.connect('window-drag-begin', + Main.overview.connect('window-drag-end', this._windowDragEnd.bind(this)); this._overviewShownId = Main.overview.connect('shown', () => { this._inWindowFade = false;